package nl.jteam.jsa.core;

/**
 * May be thrown by {@link DocumentTransaction#commit()}.
 *
 * @author Uri Boness
 */
public class RollbackException extends SearchEngineException {

    /**
     * Constructs a new RollbackException with a given message.
     *
     * @param message The message of this exception.
     */
    public RollbackException(String message) {
        super(message);
    }

    /**
     * Constructs a new RollbackException with a given message and cause.
     *
     * @param message The message of this exception.
     * @param cause The cause of this exception.
     */
    public RollbackException(String message, Throwable cause) {
        super(message, cause);
    }

}
